module.exports = {
  devtool: 'source-map', //'source-map',
  mode: 'development',
  devServer: {
    // hot:true,
    static: ['public', 'vender'],
    compress: true,
    open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:9000',
        pathRewrite: { '^/api': '' }
        // changeOrigin: true
      },
      port: 3000
    },
    historyApiFallback: true
  }
};
